<?php

class ReviewForm extends CFormModel {

    public $email;
    public $fullName;
    public $msg;
    public $rating;

    /**
     * Declares the validation rules.
     * The rules state that username and password are required,
     * and password needs to be authenticated.
     */
    public function rules() {
        return array(
            array('email, msg, rating', 'required'),
            array('fullName', 'default'),
        );
    }

    /**
     * Declares attribute labels.
     */
    public function attributeLabels() {
        return array(
        );
    }

}
